package com.neusoft.oa.mapper;


import com.neusoft.oa.pojo.Email;
import com.neusoft.oa.pojo.Percontact;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WriteMapper {
    //从通讯录中查找收信人
    java.util.List<Percontact> writeList(Percontact percontact);

    //从通讯录中查找搜索联系人
    java.util.List<Percontact> checkList(String checkname);

    //添加信件，信件发送成功
    int emailInsert(Email email);
}
